package com.shijie.service;

import com.shijie.dto.PoolAddDTO;
import com.shijie.dto.PoolUpdateDTO;
import com.shijie.vo.JudgePoolVO;
import com.shijie.vo.PoolVO;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface PoolService {

    List<PoolVO> list();

    boolean save(PoolAddDTO poolAddDTO);

    PoolVO getByPoolId(Long poolId);

    boolean update(PoolUpdateDTO poolUpdateDTO);

    boolean delete(Long poolId);

    JudgePoolVO getJudgeRequire(Long poolId);
}
